<?php
namespace Leaps\Exception;
use Exception;
class PlainDisplayer implements ExceptionDisplayerInterface
{
    protected $charset;
    protected $version;
    protected $resourcesPath;
    protected $runningInConsole;

    /**
     * 创建一个新的异常显示程序
     *
     * @return void
     */
    public function __construct($charset, $runningInConsole, $version)
    {
        $this->charset = $charset;
        $this->runningInConsole = $runningInConsole;
        $this->version = $version;
    }

    /**
     * 显示异常
     *
     * @param \Exception $exception
     */
    public function display(Exception $exception)
    {
       print_r($exception);
    }
}